package cn.jasonone.bbs.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface BaseMapper<T, ID> {
	public List<T> findAll(T t);

	public T findByID(@Param("id") ID id);

	public int insert(T t);

	public int update(T t);

	public int delete(T t);
}
